<!DOCTYPE html>
<html>

	<head>
		<meta charset="utf-8">
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<title></title>
		<script src="../js/mui.min.js"></script>
		<link href="../css/mui.min.css" rel="stylesheet" />
		<script type="text/javascript" charset="utf-8">
			mui.init({
				subpages: [{
					id: 'robot-sub',
					url: 'robot-sub.html',
					styles: {
						top: '48px',
						bottom: 0
					}
				}]
			});
		</script>
	</head>

	<body>
		<header class="mui-bar mui-bar-nav">
			<a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left"></a>
			<a id="info" class="mui-icon mui-icon-info mui-pull-right"></a>
			<h1 class="mui-title">机器人聊天室</h1>
		</header>
		<script type="text/javascript">
			 //处理右上角关于图标的点击事件；
			var subWebview = null,
				template = null;
			document.getElementById('info').addEventListener('tap', function() {
				mui.openWindow({
					url:'robot-info.html',
					waiting: {
						autoShow: false //隐藏等待框
					}
				});
			});
		</script>
	</body>
</html>